<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://www.agileai.com" prefix="aeai"%>
<jsp:useBean id="pageBean" scope="request" class="com.agileai.hotweb.domain.PageBean"/>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>生成线索</title>
<%@include file="/jsp/inc/resource.inc.jsp"%>
<script language="javascript">
var proIdBox;
function openProIdBox(){
	var handlerId = "MyCustProductTreeSelect"; 
	if (!proIdBox){
		proIdBox = new PopupBox('proIdBox','请选择方案',{size:'normal',width:'300',top:'2px'});
	}
	var url = 'index?'+handlerId+'&targetId=OPP_CONCERN_PRODUCT&targetName=OPP_CONCERN_PRODUCT_NAME';
	proIdBox.sendRequest(url);
}
</script>
</head>
<body>
<form action="<%=pageBean.getHandlerURL()%>" name="form1" id="form1" method="post">
<%@include file="/jsp/inc/message.inc.jsp"%>
<div id="__ParamBar__" style="float: right;">&nbsp;</div>
<div id="__ToolBar__">
<table border="0" cellpadding="0" cellspacing="1">
<tr>
    <aeai:previlege code="save"><td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" align="center" onclick="doSubmit({actionType:'createClue'})"><input value="&nbsp;" type="button" class="saveImgBtn" id="saveImgBtn" title="保存" />保存</td></aeai:previlege>
    <aeai:previlege code="back"><td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" align="center" onclick="goToBack();"><input value="&nbsp;" type="button" class="backImgBtn" title="返回" />返回</td></aeai:previlege>   
</tr>
</table>
</div>
<table class="detailTable" cellspacing="0" cellpadding="0">
<tr>
	<th width="100" nowrap>商机名称</th>
	<td><input id="OPP_NAME" label="商机名称" name="OPP_NAME" type="text" value="<%=pageBean.inputValue("OPP_NAME")%>" size="24" style="width:302px" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>客户名称</th>
	<td><input id="VISIT_CUST_ID_NAME" label="客户名称" name="VISIT_CUST_ID_NAME" type="text" value="<%=pageBean.inputValue("VISIT_CUST_ID_NAME")%>" readonly="readonly" style="width: 302px" size="24" class="text" />
	<input id="CUST_ID" label="客户ID"  type="hidden" name="CUST_ID" value="<%=pageBean.inputValue("CUST_ID")%>" size="24" class="text" /></td>
</tr>
<tr>
	<th width="100" nowrap>级别</th>
	<td>
    <select id="OPP_LEVEL" label="级别" name="OPP_LEVEL" style="width: 303px" class="select"><%=pageBean.selectValue("OPP_LEVEL")%></select>
</td>
</tr>
<tr>
	<th width="100" nowrap>商机说明</th>
	<td><textarea id="OPP_DES" label="商机说明" name="OPP_DES" cols="40" rows="3" style="width:540px" class="textarea"><%=pageBean.inputValue("OPP_DES")%></textarea>
</td>
</tr>
<tr>
	<th width="100" nowrap>关注产品</th>
	<td><input id="OPP_CONCERN_PRODUCT" label="关注产品" name="OPP_CONCERN_PRODUCT" type="text" value="<%=pageBean.inputValue("OPP_CONCERN_PRODUCT")%>" size="24" style="width:302px" class="text" readonly="readonly" />
		<img id="proIdSelectImage" src="images/sta.gif" width="16" height="16" onclick="openProIdBox()"/>
	</td>
</tr>
<tr>
	<th width="100" nowrap>状态</th>
	<td>
	<input id="OPP_STATE_TEXT" label="状态" name="OPP_STATE_TEXT" type="text" value="<%=pageBean.selectedText("OPP_STATE")%>" size="24" style="width:302px" class="text" readonly="readonly"/>
	<input id="OPP_STATE" label="状态" name="OPP_STATE" type="hidden" value="<%=pageBean.selectedValue("OPP_STATE")%>" />
   </td>
</tr>
<tr>
	<th width="100" nowrap>创建人</th>
	<td><input name="OPP_CREATER_NAME" type="text" class="text"	id="OPP_CREATER_NAME"	value="<%=pageBean.inputValue("OPP_CREATER_NAME")%>" size="24" style="width:302px" readonly="readonly" label="创建人" /> 
		<input id="OPP_CREATER" label="创建人"  name="OPP_CREATER" type="hidden"	value="<%=pageBean.inputValue("OPP_CREATER")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>创建时间</th>
	<td><input id="OPP_CREATE_TIME" label="创建时间" name="OPP_CREATE_TIME" type="text" value="<%=pageBean.inputTime("OPP_CREATE_TIME")%>" readonly="readonly" size="24" style="width:302px" class="text" />
</td>
</tr>
</table>
<input type="hidden" name="actionType" id="actionType" value=""/>
</form>
<script language="javascript">
requiredValidator.add("OPP_LEVEL");
requiredValidator.add("OPP_NAME");
requiredValidator.add("OPP_DES");
requiredValidator.add("OPP_CONCERN_PRODUCT");
</script>
</body>
</html>
<%@include file="/jsp/inc/scripts.inc.jsp"%>
